package com.example.demo.equipment.dao;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 采集空间
 */
public class CollectingSpace implements Serializable {

    private Integer id;
    //空间名称
    private String spaceName;
    //空间说明
    private String spaceRemark;
    //更新时间
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Date modifyTime;
    //设备集合
    private List<CollectingDevice> deviceList;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSpaceName() {
        return spaceName;
    }

    public void setSpaceName(String spaceName) {
        this.spaceName = spaceName;
    }

    public String getSpaceRemark() {
        return spaceRemark;
    }

    public void setSpaceRemark(String spaceRemark) {
        this.spaceRemark = spaceRemark;
    }


    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public List<CollectingDevice> getDeviceList() {
        return deviceList;
    }

    public void setDeviceList(List<CollectingDevice> deviceList) {
        this.deviceList = deviceList;
    }
}
